/*
 * Powered By [Frank-Liz-Lee]
 * Copyright(C) 2012-2016 Liz Company
 * All rights reserved.
 */
package com.linln.modules.system.mapper;

import java.util.List;
import java.util.Set;

import com.linln.modules.system.domain.Role;
import com.linln.modules.system.domain.User;
import com.linln.modules.system.mapper.GenericIBatisMapper;
import org.apache.ibatis.annotations.Param;
public interface RoleMapper extends GenericIBatisMapper <Role, Long>{
    int updateStatus(@Param("status") Byte code, @Param("ids") List<Long> ids);

    List<Role> findByUserId(@Param("userId") Long userId, @Param("status") Byte status);


}